<?php if (!defined('THINK_PATH')) exit();?><!-- 导航 -->
<div class="feed-nav clearfix border-b">
  <div class="mod-feed-tab" id="mod-feed-tab">
    <ul class="inner-feed-nav">
      <?php if($_GET['feed_type']=='weiba'){ $tag['weiba'] = 'current'; }
        elseif($_GET['feed_type']=='cweiba'){ $tag['cweiba'] = 'current'; }
        else{ $tag['public'] = 'current'; } ?>
      <li class="<?php echo ($tag["public"]); ?>"><a href="<?php echo U('public/Profile/appList',array('tab'=>'weiba','type'=>'weiba','feed_type'=>'','uid'=>$uid));?>">发表的帖子</a></li>
      <li class="<?php echo ($tag["weiba"]); ?>"><a href="<?php echo U('public/Profile/appList',array('tab'=>'weiba','type'=>'weiba','feed_type'=>'weiba','uid'=>$uid));?>">加入的微吧</a></li>
      <li class="<?php echo ($tag["cweiba"]); ?>"><a href="<?php echo U('public/Profile/appList',array('tab'=>'weiba','type'=>'weiba','feed_type'=>'cweiba','uid'=>$uid));?>">创建的微吧</a></li>
    </ul>
  </div>
</div>

<link rel="stylesheet" href="__ROOT__/apps/weiba/_static/weiba.css" type="text/css" media="screen" charset="utf-8" />
<div class="weibaList">
  <?php if($data){ ?>
  <ul class="clearfix" id="circle-list">
    <?php if(is_array($data)): ?><?php $i = 0;?><?php $__LIST__ = $data?><?php if( count($__LIST__)==0 ) : echo "" ; ?><?php else: ?><?php foreach($__LIST__ as $key=>$vo): ?><?php ++$i;?><?php $mod = ($i % 2 )?><li 
      <?php if(is_integer(($key + 1) / 3)): ?>
      style="border-right:none;"
      <?php endif; ?>
      >
      <div class="weiba-logo left"><a href="<?php echo U('weiba/Index/detail',array('weiba_id'=>$vo['weiba_id']));?>" target="_blank"><img src="<?php echo ($vo["avatar_middle"]); ?>"  /></a></div>
      <div class="weiba-info">
        <h2 class="weiba-tit mb5"><a href="<?php echo U('weiba/Index/detail',array('weiba_id'=>$vo['weiba_id']));?>" target="_blank"><?php echo (getshort($vo["weiba_name"],12)); ?></a></h2>
        <p class="weiba-data"><span>成员数<?php echo (($vo["follower_count"])?($vo["follower_count"]):0); ?></span>&nbsp;&nbsp;<span>今日新帖<?php echo (($vo["new_count"])?($vo["new_count"]):0); ?></span></p>
        <p class="weiba-prof"><?php echo (getshort($vo["intro"],20)); ?>...</p>
      </div>
      </li><?php endforeach; ?><?php endif; ?><?php else: echo "" ;?><?php endif; ?>
    <div class="page"><?php echo ($html); ?></div>
  </ul>
</div>
<?php }else{ ?>
<dl class="feed_list" style="min-height:500px">
<div style="padding-top:80px;text-align:center">
<p class="mb10"><i class="icon-bed"></i></p>
<p style="color:#333">暂时没有可显示的内容哟~</p>
</div>
</dl>
<?php } ?>